#Binary #systems
-
Separate the Integer and Fractional Parts: If your binary number has a decimal point, split it into the integer and fractional parts. For example, if you have the binary number
101.101, the integer part is101and the fractional part is101. -
Convert the Integer Part to Decimal: Convert the integer part of the binary number to decimal. For example, if you have the binary integer
101, it is equal to5in decimal. -
Convert the Fractional Part to Decimal: Convert the fractional part of the binary number to decimal. For example, if you have the binary fractional part
101, it is equal to5/8in decimal, which is0.625. -
Combine the Integer and Fractional Parts: Combine the decimal integer and fractional parts to get the final floating-point number. For example, if you have the binary number
101.101, the decimal number is5.625.